package org.flatshare.jsf.mbean;

import java.util.GregorianCalendar;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.persistence.*;

import org.flatshare.util.InvoiceType;

/**
 * Entity implementation class for Entity: Invoice
 *
 */
@ManagedBean(name="INVOICE")
@RequestScoped

public class Invoice {

	
	private InvoiceType type;
	
	private float amount;
	
	private Date startDate;
	
	private Date endDate;

	private List<Roomer> roomers;

	public List<Roomer> getRoomers() {
		return roomers;
	}

	public void setRoomers(List<Roomer> roomers) {
		this.roomers = roomers;
	}

	public Invoice() {
		super();
	}


	public InvoiceType getType() {
		return type;
	}

	public void setType(InvoiceType type) {
		this.type = type;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}

	public Date  getStartDate() {
		return startDate;
	}

	public void setStartDate(Date  startDate) {
		this.startDate = startDate;
	}

	public Date  getEndDate() {
		return endDate;
	}

	public void setEndDate(Date  endDate) {
		this.endDate = endDate;
	}


	
	
   
}
